package com.example.lenovo.a203_yhy_ordering_3.service;

import com.example.lenovo.a203_yhy_ordering_3.beans.FoodListBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by lenovo on 2018/12/10.
 */

public interface SearchService {
    @GET("getFoodBySearch.do")
    Call<List<FoodListBean>> getFoodBySearch(
            @Query("search") String search
    );
}
